package com.ruoyi.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * shop对象 user
 * 
 * @author ruoyi
 * @date 2025-06-09
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private String userid;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String usernumber;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userpwd;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String usernick;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String useravator;

    /** 用户状态 */
    @Excel(name = "用户状态")
    private Integer userstate;

    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setUsernumber(String usernumber) 
    {
        this.usernumber = usernumber;
    }

    public String getUsernumber() 
    {
        return usernumber;
    }
    public void setUserpwd(String userpwd) 
    {
        this.userpwd = userpwd;
    }

    public String getUserpwd() 
    {
        return userpwd;
    }
    public void setUsernick(String usernick) 
    {
        this.usernick = usernick;
    }

    public String getUsernick() 
    {
        return usernick;
    }
    public void setUseravator(String useravator) 
    {
        this.useravator = useravator;
    }

    public String getUseravator() 
    {
        return useravator;
    }
    public void setUserstate(Integer userstate) 
    {
        this.userstate = userstate;
    }

    public Integer getUserstate() 
    {
        return userstate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userid", getUserid())
            .append("usernumber", getUsernumber())
            .append("userpwd", getUserpwd())
            .append("usernick", getUsernick())
            .append("useravator", getUseravator())
            .append("userstate", getUserstate())
            .toString();
    }
}
